#ifndef GRID_DISPLAY_H
#define GRID_DISPLAY_H

//#include "../grid/Grid.h"
#include "Palette.h"

class GridDisplay {
public:
	/* ctor */
	GridDisplay();

	/* dtor */
	virtual ~GridDisplay() {};

//	void setGrid(Grid const& grid);
	void setPalette(Palette const& palette);

	/**
	 * Process events, redisplay accordingly.
	 * Should be called frequently to catch mouse, keyboard events.
	 */
//	virtual void update() = 0;

//	virtual void run() = 0;

protected:
//	Grid const&    getGrid() const;
	Palette const& getPalette() const;

private:

//	Grid const*    _grid;
	Palette const* _palette;
};

#endif	// GRID_DISPLAY_H

